|
|
|
|
|
|
|
(table continued from previous page) |
|
|
|
|
| Property | Description | | RowCount | This property returns the number of rows displayed in the Coolbar at runtime. Remember that this is probably not the number of bands, because more than one band can be displayed on a row. If you want to retrieve the number of bands visible, you can look at the BandsCount property. |
|
|
|
|
|
|
If you look at the sample project, you will see an example of two toolbars that have been combined onto a Coolbar control. If you want to look at the properties of the Coolbar, be sure to click on the Coolbar and not one of the two Toolbar controls. You can also try moving one of the Toolbars around at runtime to see how you can line them up, or even change their positions on the Coolbar control. |
|
|
|
|
|
|
|
|
Most MDI applications display status bars at the bottom of their main forms. Status bars are commonly used to display information about programs. For example, in Microsoft Word, the status bar is used to display the current page, current section, number of pages in the document, the current line and column, and information on the state of the Insert key on the keyboard (insert or overwrite mode). Figure 30.7 shows you an example of a status bar control. |
|
|
|
|
|
|
|
|
Examples Filename: StatusBar.frm |
|
|
|
|
|
|
|
|
Figure 30.7
A status bar control. |
|
|
|
|
|
|
|
|
A status bar is made up of one or many Panel objects. Each Panel object can display text or a predefined status that comes from Windows itself. In most of the applications I create, I use the left panel to display the caption of the current form, the middle panel to display the person who is currently logged into the application, and the right panel to display the name of the current form. Tech support can use |
|
|
|
|
|